<%@ page language="java" import="java.util.*" pageEncoding="utf-8" %>
<%@ include file="../../attr.jsp" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@page import="com.lrkj.back.vo.constant.PathInfo" %>
<c:set var="peibaoId" value="<%=PathInfo.peibaoId%>"/>
<c:set var="menuXy" value="${menuList}[${peibaoId}]"/>

<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=emulateIE7"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link rel="stylesheet" href="${ctx}/css/sapar.css"/>
    <link rel="stylesheet" href="${ctx}/css/index_inner.css"/>
    <title>用户</title>
</head>

<body>
<div id="container">
    <div id="bd">
        <div class="wrap clearfix">
            <div class="sidebar">
                <h2 class="sidebar-header"><p>功能导航</p></h2>
                <ul class="nav">
                    <li class="office current">
                        <div class="nav-header"><a href="javascript:;" data-src="${ctx}/qingxi/qingxiShenheList.do"
                                                   class="clearfix"><span>清洗审核</span><i class="icon"></i></a></div>
                    </li>
                    <li class="office ">
                        <div class="nav-header"><a href="javascript:;" data-src="${ctx}/peibao/qingxiList.do"
                                                   class="clearfix"><span>配包</span><i class="icon"></i></a></div>
                    </li>

                    <%--<li class="office">--%>
                        <%--<div class="nav-header"><a href="javascript:;" data-src="${ctx}/peibao/qingx" </div>--%>
                    <%--</li>--%>

                    <%--<li class="office">--%>
                        <%--<div class="nav-header"><a href="javascript:;" data-src="${ctx}/peibao/shenheList.do"--%>
                                                   <%--class="clearfix"><span>配包审核</span><i class="icon"></i></a></div>--%>
                    <%--</li>--%>
                    <%--<li class="office">--%>
                        <%--<div class="nav-header"><a href="javascript:;" data-src="${ctx}/peibao/guanbaoList.do"--%>
                                                   <%--class="clearfix"><span>关包</span><i class="icon"></i></a></div>--%>
                    </li>
                    <li class="office">
                        <div class="nav-header"><a href="javascript:;" data-src="${ctx}/peibao/peibaoList"
                                                   class="clearfix"><span>配包记录</span><i class="icon"></i></a></div>
                    </li>
                </ul>
            </div>
            <div class="content" id="cc">
                <%--<iframe v-bind:src=menus[0].moduleUrl id="iframe" width="100%" height="100%" frameborder="0"></iframe>--%>
                <iframe src="${ctx}/qingxi/qingxiShenheList.do" id="iframe" width="100%" height="100%"
                        frameborder="0"></iframe>
            </div>
        </div>
    </div>
</div>
</body>
<script type="text/javascript" src="${ctx}/js/jquery.js"></script>
<script type="text/javascript" src="${ctx}/js/sapar.js"></script>
<script type="text/javascript" src="${ctx}/js/index_inner.js"></script>
<script type="text/javascript">
    var d = ${menuXy};

    function menuList() {
        for (var i = 0; i < d.length; i++) {
            var str = "";
            var ifr = "";
            if (i == 0) {
                //ifr = "<iframe src='"+d[i].moduleUrl+"' id='iframe' width='100%' height='100%' frameborder='0'></iframe>";
                str += "<li class='gongwen current'><div class='nav-header'><a href='#' data-src='" + d[i].moduleUrl + "' class='clearfix'><span>" + d[i].moduleName + "</span><i class='icon'></i></a></div></li>";
            } else {
                str += "<li class='gongwen'><div class='nav-header'><a href='#' data-src='" + d[i].moduleUrl + "' class='clearfix'><span>" + d[i].moduleName + "</span><i class='icon'></i></a></div></li>";
            }
            $(".nav").append(str);
        }
    }

    //menuList();

    var app = new Vue({
        el: '#cc',
        data: {
            menus:${menuXy},

        },
        methods: {},

    });
</script>

</html>
